.wrap {
	background: #fff;
}
@media (max-width: 767px) {
	.row {
		margin-left: 0;
		margin-right: 0;
	}
}
/* header */
#header .header-left {
	width: 143px;
	float: left;
}
#header .header-right {
	width: 827px;
	float: right;
}
#header .brand {
	background: url(../images/stola-logo.png) center center no-repeat;
	height: 131px;
	text-indent: -9999px;
	display: block;
	border-bottom: 6px solid #05347A;
	border-right: 1px solid #05347A;
	
	-webkit-box-shadow: inset 50px -120px 60px -100px rgba(59, 106, 176, 0.6);
    box-shadow: inset 50px -120px 60px -100px rgba(59, 106, 176, 0.6);
}
#header .slogan {
    color: #A4BCDE;
    font-size: 18px;
    margin: 32px 0 0 20px;
}
@media (max-width: 992px) {
	#header .slogan {
	    margin: 20px 0 0 20px;
	}
}
@media (max-width: 551px) {
	#header .slogan {
	    font-size: 16px;
	}
}
#header .header-aside {
    height: 85px;
    overflow: hidden;
}
#header > [class*="col-"] {
	padding-left: 0;
	padding-right: 0;
}

/* search form */
#search-form {
	margin: 30px 20px 0 0;
}
#header .inputbox {
    width: 170px;
}

/* menu */
.main-menu {
	background: #3b6ab0;
	border-bottom: solid 6px #05347a;
}
.nav-stola {
    list-style: none;
    margin: 0;
    min-height: 40px;
    padding: 0;
    position: relative;
    z-index: 1000;
}
.nav-stola:before,
.nav-stola:after {
  content: " ";
  /* 1 */

  display: table;
  /* 2 */

}
.nav-stola:after {
  clear: both;
}
.nav-stola:before,
.nav-stola:after {
  content: " ";
  /* 1 */

  display: table;
  /* 2 */

}
.nav-stola:after {
  clear: both;
}
.nav-stola > li {
	float: left;
	position: relative;
}
.nav-stola > li.divider,
.nav-stola > li a {
	display: block;
    color: #ffffff;
    padding: 10px 15px;
    cursor: default;

	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.nav-stola > li a {
	cursor: pointer;
}
.nav-stola > li:hover,
.nav-stola > li:hover > a,
.nav-stola ul {
	list-style: none;
	background: #a4bcde;
	color: #3b6ab0;
}
.nav-stola > li i {
	margin-left: 6px;
}
.nav-stola > li a {
	color: #ffffff;
}
.nav-stola > li a:hover {
	text-decoration: none;
}
.nav-stola > li + li {
/*   margin-left: 1.8px; */
}

.nav-stola li > ul {
	padding: 0;
	position: absolute;
	top: 40px;
	left: 0;
	width: 200px;
	box-shadow: none;
	display: none;
	opacity: 0;
	visibility: hidden;
	
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-webkit-transiton: opacity 0.2s;
	transition: opacity 0.2s;
}
.nav-stola li ul li,
.nav-stola li ul li a { color: #3b6ab0 }
.nav-stola li ul li:hover, .nav-stola li ul li.active { background: #dfeaf8; }
.nav-stola li:hover > ul {
	display: block;
	opacity: 1;
	visibility: visible;
}
.nav-stola li ul li { position: relative; }
.nav-stola li ul li.divider,
.nav-stola li ul li a {
	display: block;
	padding: 6px 10px;
	
}
.nav-stola > li li i {
	float: right;
	margin-top: 4px;
}
.nav-stola li ul li > ul {
	background: #dfeaf8;
	display: none;
	opacity: 0;
	visibility: hidden;
	position: absolute;
	left: 200px;
	top: 0;
}
nav-stola li ul li:hover > ul {
	display: block;
	opacity: 1;
	visibility: visible;
}
.nav-stola li ul li > ul li a:hover {
	color: #ffffff;
}
@media (max-width: 992px) {
	#header .nav-stola > li li i {
		display: none;
	}
	#header .nav-stola ul ul {
		display: none !important;
		opacity: 0 !important;
		visibility: hidden !important;
	}
	#header .nav-stola {
		background: #3b6ab0;
		position: absolute;
		width: 100%;
	}
	#header .nav-stola li > ul {
		display: block;
		opacity: 1;
		visibility: visible;
		background: #a4bcde;
		position: relative;
		margin-top: 6px;
		top:0;
		left: 0;
		width: 100%;
	}
	#header .nav-stola li { float: none; display: block; padding: 0 15px;}
	#header .nav-stola > li:hover {
		background: none;
		color: #fff;
	}
	#header .nav-stola > li a:hover {
		text-decoration: underline;
	}
	#header .nav-stola ul {
		background: #a4bcde;
		color: #3b6ab0;
	}

	
}
/* content */
/* sliders */
.stola-slider-wrap {
	position: relative;
}
.stola-slider {
  position: relative;
  list-style: none;
  overflow: hidden;
  padding: 0;
}
.stola-slider {
	max-height: 300px;
	background: #3b6ab0;
	overflow: hidden;
	margin-top: 25px;
	color: #fff;
}
.stola-slider [class*="col-"] {
	padding-left: 0;
	padding-right: 0;
}
.stola-slider .slider-text {
	padding: 10px 35px 0;
}
@media (max-width: 992px) {
	.slider-text > p {
	    height: 60px;
	    overflow: hidden;
	}
	.rslides_tabs {
		display: none !important;
	}
}
@media (max-width: 768px) {
	.stola-slider-wrap {
		display: none !important;
	}
}
.rslides_tabs {
	position: absolute;
	right: 17%;
	bottom: 3px;
	list-style: none;
	z-index: 990;
}
.rslides_tabs li {
	float: left;
	margin: 5px;
}
.rslides_tabs li a {
	background: #3B6AB0;
	text-indent: -9999px;
	display: block;
	width: 17px;
	height: 17px;
	border: solid 2px #ffffff;
	outline: none;
	
	-webkit-border-radius: 100px;
	border-radius: 100px;
}
.rslides_tabs li.rslides_here a {
	background: #ffffff;
	border: solid 2px #ffffff;
}


/* top articles */
.blog-featured {
	margin-top: 15px;
}
.blog-featured article {
	margin-bottom: 15px;
}
.blog-featured .media-heading {
	text-transform: uppercase;
	margin: 15px 0 13px;
	font-size: 18px;
}
.blog-featured .item-text-info p {
	margin: 0;
}
.blog-featured .column-1 {
    clear: both;
}
.blog-featured figure img {
	display: block;
	max-width: 100%;
	height: auto;
}
@media (max-width: 290px) {
	.blog-featured article {
		clear: both !important;
	}
	.blog-featured > [class*="col-"] {
		width: 100% !important;
	}
}
/* articles */
.img-fulltext {
	margin-top: 15px;
}
.latestnews-aktuality article {
	background: url(../images/news-icon.png) left center no-repeat;
    border-bottom: 1px solid #DFEAF8;
    padding: 10px 0 10px 40px;
    position: relative;
    text-transform: uppercase;
}
.latestnews-aktuality article:last-child {
    border-bottom: 0 none;
}
.latestnews-aktuality .latestnews-date {
	display: block;
	font-size: 12px;
}
.moduletableaktuality,
.moduletablekontakt {
	margin-bottom: 15px;
}
/* box style */
.box-header {
	color: #a4bcde;
	text-transform: uppercase;
	font-size: 20px;
}
/* edit page */
.login {
    margin: 30px 0 0;
}
.login .form-group label {
	float: left;
    padding-top: 7px;
    text-align: right;
    width: 30%;
}
.login .controls {
    margin-left: 42%;
}
.edit-user-form {
    background: #F8F8F8;
    margin: 20px 0;
    padding: 20px;
    text-align: center;
}
/* article editor */
.article-edit-button {
	margin: 20px 0;
}
.article-editor-form {
	clear: both;
}
.tab-content > .tab-pane {
	padding: 20px 0;
}
.article-editor-form .control-group {
	margin-bottom: 10px;
}
.article-editor-form .input-append input.hasTooltip {
    float: left;
    width: 50%;
}
.article-editor-form .input-append .btn {
	border-top: 1px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}
/* user edit */
.profile,
.profile-edit {
    margin: 20px 0;
}
.profile-edit fieldset {
	margin-bottom: 20px;
}
.profile-edit .form-actions {
	text-align: center;
}
.profile-edit .control-group {
	margin-bottom: 10px;
}
/* form style */
.profile-edit input:-moz-placeholder,
.profile-edit select:-moz-placeholder,
input.validate-password:-moz-placeholder,
input.validate-username:-moz-placeholder,
.inputbox:-moz-placeholder {
  color: #999999;
}
.profile-edit input::-moz-placeholder,
.profile-edit select::-moz-placeholder,
input.validate-password::-moz-placeholder,
input.validate-username::-moz-placeholder,
.inputbox::-moz-placeholder {
  color: #999999;
}
.profile-edit input:-ms-input-placeholder,
.profile-edit select:-ms-input-placeholder,
input.validate-password:-ms-input-placeholder,
input.validate-username:-ms-input-placeholder,
.inputbox:-ms-input-placeholder {
  color: #999999;
}
.profile-edit input::-webkit-input-placeholder,
.profile-edit select::-webkit-input-placeholder,
input.validate-password::-webkit-input-placeholder,
input.validate-username::-webkit-input-placeholder,
.inputbox::-webkit-input-placeholder {
  color: #999999;
}
.profile-edit input,
.profile-edit select,
input.validate-password,
input.validate-username,
input.hasTooltip,
.inputbox {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.428571429;
  color: #555555;
  vertical-align: middle;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
textarea.inputbox {
	height: auto !important;
}
.profile-edit input:focus,
.profile-edit select:focus,
input.validate-password:focus,
input.validate-username:focus,
.inputbox:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
/* logout */
.logout {
	margin: 30px 0;
	text-align: center;
}
/* articles category */
.media-body .page-header {
	margin: 0;
	padding-bottom: 0;
	border-bottom: 0 none;
}
.media-body .page-header h2,
.media-body .page-header h3,
.media-body .page-header h4 {
  margin: 0 0 5px;
}
.media-body .page-header h2 {
	font-size: 24px;
}
.media-body {
	border-bottom: 1px solid #EEEEEE;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

/* article detail */
.item-page img {
	max-width: 100%;
}
/* photo gallery */
.phocagallery-box-file {
	float: left;
}
/* contact */
.customkontakt [class*="icon-"] {
    display: block;
    float: left;
    font-size: 40px;
    height: 40px;
    margin-right: 5px;
    width: 40px;
    color: #3b6ab0;
}
.customkontakt address {
	margin: 0;
}
.customkontakt div {
	margin-bottom: 15px;
}
.customkontakt .location .icon-globe {
    margin-top: 4px;
}

@media (max-width: 992px) {
	.customkontakt {
		font-size: 12px;
	}
	.customkontakt .location img {
		width: 175px;
	}
	.customkontakt .location .icon-globe {
	    margin-top: 0;
	}
}
@media (max-width: 767px) {
	.customkontakt .location img {
		width: auto;
	}
	.customkontakt .location .icon-globe {
	    margin-top: 4px;
	}
}
/* calendar */
.moduletablekalendar .newscalendar,
.kalendar div.newscalendar {
	max-width: 400px;
}

/* trio */
.moduletabletrio [class*="col-"] {
	padding-left: 4px;
	padding-right: 4px;
	text-align: center;
}
.moduletabletrio {
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
}
.moduletabletrio p {
    border: 1px solid #DFEAF8;
    font-size: 11px;
    line-height: 22px;
}
.moduletabletrio p:hover {
	background: #f1f7ff;
    border: 1px solid #a4bcde;
}
.moduletabletrio a:hover {
	text-decoration: none;
}
@media (max-width: 992px) {
	.moduletabletrio p {
		font-size: 8px;
	}
	.moduletabletrio .img-responsive {
		margin: 0 auto;
	}
}
@media (max-width: 767px) {
	.moduletabletrio p {
		font-size: 14px;
	}
}
/* footer */
#footer {
	margin-top: 30px;
	margin-bottom: 20px;
}
#footer .nav-stola {
	float: right;
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}
#footer .navbar-toggle {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}
#footer .nav-stola li > a {
	color: #333333;
}
#footer .nav-stola li:hover,
#footer .nav-stola li a:hover,
#footer .nav-stola li:hover a {
	background: none !important;
}
#footer .nav-stola > li a {
    padding: 8px 0 8px 10px;
    display: inline-block;
}
#footer .nav-stola > li.active a {
	font-weight: bold;
}
#footer .nav-stola > li.active a:hover {
	text-decoration: none;
	cursor: default;
}
#footer .nav-stola li > a:hover {
	text-decoration: underline;
}
#footer .nav-stola > li:after {
  content:'\007C';
  padding: 0 0 0 10px;
  color: #cccccc;
}
#footer .nav-stola > li:last-child:after {
  content: none;
  padding: 0;
}
.footer-logo {
	background: url(../images/footer_logo.png) 0 0 no-repeat;
	display: block;
    float: left;
    height: 39px;
    margin: 0 10px 0 0;
    text-indent: -9999px;
    width: 34px;
}
.copyright {
	margin: 0;
}
/* uprava pro phocadownload */
#phoca-dl-download-box .pd-filenamebox, #phoca-dl-file-box .pd-filenamebox, #phoca-dl-category-box .pd-filenamebox {
	margin: 15px 5px 5px;
}
/* uprava pro phocagallery */
#phocagallery {
	margin-top: 20px;
}
.pg-cv-box {
	width: auto !important;
	height: auto !important;
}
.pg-csv-box {
	height: 140px !important;
    width: 140px !important;
}
.pg-csv-box-img {
    margin: 0 auto;
}

/* http://www.gymstola.cz/o-skole/predmetove-komise */
.table-striped .btn {
	padding: 0 6px;
}

.teaser {
	background-color:#f0f0f0;
	padding: 1px 10px 10px 10px;
	margin-top:20px;
}
